import { createWebHashHistory, createRouter } from 'vue-router'
import globalRouter from './global-router';
import menuRouter from './menu-router';


// 所有路由
let allMenus = globalRouter.concat(menuRouter);

const router = createRouter({
  history: createWebHashHistory(),
  routes: allMenus,
});

export default router;
